﻿ <include file="Public/head.html" /> 
  <h1 style="text-align: center; font-weight: bolder;">APP数据维护</h1>
<form action="{:U('admin.php/app/search')}" method="post" class="form-horizontal" enctype="multipart/form-data">  
  <table class="table">
    <tr>
      <th><input type="text" name="search_key" class="form-control"></input></th>
      <th><input type="submit" class="btn btn-primary" value="搜索"></input></th>
      <th><p style="text-align:right; font-size: 20px;"><a href="form.html">新增APP</a></p></th>
    </tr>
  </table>
</form>
  <table border="1" class="table">
    <tr>
      <th>LOGO</th>
      <th>名称</th>
      <th>开发者</th>
      <th>上传者</th>
      <th>上传时间</th>
      <th>开发技术</th>
      <th>下载次数</th>
      <th>点击次数</th>
      <th>操作</th>
    </tr>
    <volist name="list" id="vo">
     <tr>
      <td><img src="__PUBLIC__/Uploads/{$vo.zhr_logo}" width="80px"></td>
      <td>{$vo.zhr_appname}</td>
      <td>{$vo.zhr_developer}</td>
      <td>{$vo.zhr_upadmin}</td>
      <td>{$vo.zhr_updatetime}</td>
      <td>{$vo.zhr_tech}</td>
      <td>{$vo.zhr_downtimes}</td>
      <td>{$vo.zhr_hittimes}</td>
      <td>
          <!-- 传参 -->
          <a href="{:U('admin.php/app/view',array('id'=>$vo['zhr_pid']))}">查看</a><br>   
          <a href="{:U('admin.php/app/mod',array('id'=>$vo['zhr_pid']))}">修改</a><br>
          <a href="javascript:if(confirm('确认删除?')) location='{:U('admin.php/app/delete',array('id'=>$vo['zhr_pid']))}'">删除</a><br>
      </td>
     </tr>
    </volist>
   </table>
   <div class="text-center">{$page}</div>
   <include file="Public/footer.html" /> // 包含尾部模版foter
